<template>
	<view class="mainpadding2">
		<view class="mainpadding_top ffffff radius flexbetween" @click="jumpurl('/pages_mine/cuotiben?type=1')">
			<view class="titletext bold hei_text">单选题</view>
			<view class="flexright">
				<view class="lan_text margin_right2 main_size">{{dataAll.choice1_num}}道</view>
				<u-icon name="arrow-right" color="#999" size="16"></u-icon>
			</view>
		</view>
		<view class="mainpadding_top ffffff radius flexbetween" @click="jumpurl('/pages_mine/cuotiben?type=2')">
			<view class="titletext bold hei_text">多选题</view>
			<view class="flexright">
				<view class="lan_text margin_right2 main_size">{{dataAll.choice2_num}}道</view>
				<u-icon name="arrow-right" color="#999" size="16"></u-icon>
			</view>
		</view>
		<view class="mainpadding_top ffffff radius flexbetween" @click="jumpurl('/pages_mine/cuotiben?type=3')">
			<view class="titletext bold hei_text">判断题</view>
			<view class="flexright">
				<view class="lan_text margin_right2 main_size">{{dataAll.judge_num}}道</view>
				<u-icon name="arrow-right" color="#999" size="16"></u-icon>
			</view>
		</view>
		<view class="mainpadding_top ffffff radius flexbetween" @click="jumpurl('/pages_mine/cuotiben?type=4')">
			<view class="titletext bold hei_text">连线题</view>
			<view class="flexright">
				<view class="lan_text margin_right2 main_size">{{dataAll.matching_num}}道</view>
				<u-icon name="arrow-right" color="#999" size="16"></u-icon>
			</view>
		</view>
		<view class="mainpadding_top ffffff radius flexbetween" @click="jumpurl('/pages_mine/cuotiben?type=5')">
			<view class="titletext bold hei_text">填空题</view>
			<view class="flexright">
				<view class="lan_text margin_right2 main_size">{{dataAll.fill_num}}道</view>
				<u-icon name="arrow-right" color="#999" size="16"></u-icon>
			</view>
		</view>
		<view class="mainpadding_top ffffff radius flexbetween" @click="jumpurl('/pages_mine/cuotiben?type=6')">
			<view class="titletext bold hei_text">简答题</view>
			<view class="flexright">
				<view class="lan_text margin_right2 main_size">{{dataAll.saq_num}}道</view>
				<u-icon name="arrow-right" color="#999" size="16"></u-icon>
			</view>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				dataAll:{}
			}
		},
		onLoad() {
			this.init()
		},
		methods: {
			init(){
				httpRequest.request('/api/examination/wrongdata', 'GET', {
				}, false, false, true).then(res => {
					this.dataAll = res.data
				})
			}, 
			jumpurl(url){
				uni.navigateTo({
					url
				})
			},
		}
	}
</script>

<style>

</style>
